<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>录入回款</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css"/>
    <link rel="stylesheet" href="/css/skin.css"/>
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/js/bootstrap-multitabs/multitabs.min.css">

    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" type="text/css" href="/css/daterangepicker.css" />
    <link rel="stylesheet" href="/js/need/verfont.css" />
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>

    <link rel="stylesheet" href="/css/skin.css"/>
    <link rel="stylesheet" href="/css/contractManager/user/contractDetail.css"/>
    <style>
        #addInputMoney .modal-header {
            padding-bottom: 0;
            border-bottom: none;
        }
        #addInputMoney .modal-body > .form-well:last-child {
            margin-bottom: 0;
        }
        #addInputMoney .modal-footer {
            padding: 10px 15px 20px;
            border-top: none;
        }
        #addInputMoney .form-well {
            padding: 10px 20px;
        }
        #addInputMoney .form-well .form-content {
            margin-bottom: 10px;
        }
        .isHide{
            display: none;
        }
        .isShow{
            display: block;
        }
    </style>
</head>
<body>


<div class="outerSphereBox">
   <div class="card">
       <input type="hidden" id="orderCode" name="orderCode" th:value="${productOrderId}">
       <input type="hidden" id="contractId" th:value="${contractVO?.contractId?:''}">
       <input type="hidden" id="companyNameId" th:value="${vo?.trueCompanyName}">
       <input type="hidden" id="residueMoneyAmountspan" th:value="${vo?.residueMoneyAmount?:''}">
       <input type="hidden" id="deptId" th:value="${deptId}">
       <div class="card-header">
           <h1><img src="/images/finance/orderInfo/icon1.png" alt="">订单详情 <span id="orderNum">（订单编号：<span th:text="${vo?.orderNumber?:''}"></span>）</span></h1>
           <div class="pull-right">
               <button class="btn btn-default" data-toggle="modal" id="dismissBtn" data-target="#dismiss" type="button" style="display: none"><i class="mdi mdi-lock-pattern"></i> 全部解除</button>
<!--               <button class="btn btn-default" data-toggle="modal" data-target="#errorShift" onclick="errorShift()" type="button"><i class="mdi mdi-lock-pattern"></i> 错误关联</button>-->
<!--               <button class="btn btn-primary" data-toggle="modal" data-target="#addInputMoney" id="payBackBtn" aria-expanded="false" type="button" onclick="payBack('1')"  style="margin-left: 10px;display: none"><i class="mdi mdi-inbox-arrow-down"></i> 全部回款</button>-->
           </div>
<!--           data-target="#addInputMoney"-->
       </div>
       <div class="card-body" style="padding:0 0 24px 0">
           <div class="orderDetails">
               <table>
                   <tbody>
                   <tr>
                       <td>合同类型：
                           <span class="text" th:switch="${contractVO?.contractType?:''}">
                            <span th:case="1">非会员合同</span>
                            <span th:case="2">会员新单合同</span>
                            <span th:case="3">活动合同</span>
                            <span th:case="4">会员续费合同</span>
                            <span th:case="5">兑换合同</span>
                            <span th:case="6">单品合同</span>
                            <span th:case="7">会员单次合同</span>
                        </span></td>
                       <td>合同起止日期：
                           <span class="text"  id="starTime" th:text="${#dates.format(contractVO?.contractStartDate, 'yyyy-MM-dd')}"></span>至
                           <span class="text"  id="endTime" th:text="${#dates.format(contractVO?.contractEndDate, 'yyyy-MM-dd')}"></span></td>
                       <td>合作开发人员：
                           <span>
                            <a href="#!" data-toggle="modal" data-target="#cooperateModal">查看</a>
                        </span>
                       </td>
                   </tr>
                   <tr>
                       <td>合同编号：<span class="text" th:text="${contractVO?.contractNumber?:''}"></span></td>
                       <td>订单状态： <input type="hidden" id="orderFinish" th:value="${vo?.orderStatus?:''}">
                           <span class="orderVoid" style="color: #657082">等待回款</span>
                           <span class="orderVoid2" style="color: #657082">已完成</span>
                           <span class="orderVoid3" style="color: #657082">作废</span>
                           <span class="orderVoid4" style="color: #657082">部分回款</span>
                           <span class="orderVoid5" style="color: #657082">预回款</span>
                       </td>
                       <td>订单所有人：<span class="text" th:text="${vo?.createPeopleName?:''}"></span></td>
                   </tr>
                   <tr>
                       <td>订单创建时间：<span class="text" th:text="${vo?.createTm?:''}"></span></td>
                       <td>所属分公司：<span class="text" th:text="${contractVO?.companyName?:''}"></span></td>
                       <td>客户名称：<span class="text" th:text="${contractVO?.customerName?:''}"></span></td>
                   </tr>
                   <tr>
                       <td>订单总金额：<span style="font-weight: bold;" th:text="${vo?.orderActualTotalAmount?:''}"></span></td>
                       <td>当前回款：<span style="font-weight: bold;" th:text="${vo?.returnMoneyAmount?:''}"></span></td>
                       <td>订单尾款：<span id="balancePayment" style="font-weight: bold;" th:text="${vo?.residueMoneyAmount?:''}"></span></td>
                   </tr>
                   </tbody>
               </table>
           </div>
       </div>
       <div class="well form-well">
           <h3>购买的产品</h3>
           <div id="buyProductList" style="padding-bottom: 20px">
           </div>
           <div class="loadMoreLine"><a href="javascript:void(0);"  onclick="loadMore()" class="loadMoreText" disabled="true">加载更多 <i class="mdi mdi-chevron-double-down"></i></a></div>
<!--           <button></button>-->
       </div>
<!--           <div class="buyProductList">
               <div class="buyProduct clearfix">
                   <div class="buyProductName pull-left">
                       <div class="productType">会员产品</div>
                       <div class="productNum">产品编号：CY3652987872E5</div>
                   </div>
                   <div class="buyProductDetails pull-right">
                       <div class="productName" style="height: 50%">
                           <div class="img pull-left" >
                               <img src="/images/finance/orderInfo/icon2.png" alt="" class="pull-left" style="display: block">
                               <div class="product_name pull-left" style="margin-left: 15px">
                                   <p class="product_key">产品名称</p>
                                   <p class="product_value">股权激励训练营-线上+线下(优惠)</p>
                               </div>
                           </div>
                           <div class="operateButton pull-right">
                               <button class="btn btn-primary " type="button" >产品回款</button>
                               <button class="btn btn-default"  type="button"  style="margin-left: 10px">错误修改</button>
                           </div>
                       </div>
                       <div class="productDetails pull-left" style="width: 100%">
                           <div class="productDetailsItem  pull-left">
                               <div class="img pull-left" style="margin-top: 10px">
                                   <img src="/images/finance/orderInfo/icon3.png" alt="">
                               </div>
                               <div class="productDetailsList clearfix"  style="border-right: 1px solid #CCD2DB">
                                   <div class="pull-left" style="width: calc(100% - 50px)">
                                       <div class="productDetailsTitle">产品成交价</div>
                                       <div class="productDetailsNum">698000</div>
                                   </div>
                               </div>
                           </div>
                           <div class="productDetailsItem pull-left">
                               <div class="img pull-left" style="margin-top: 10px">
                                   <img src="/images/finance/orderInfo/icon4.png" alt="">
                               </div>
                               <div class="productDetailsList clearfix"  style="border-right: 1px solid #CCD2DB">
                                   <div class="pull-left" style="width: calc(100% - 50px)">
                                       <div class="productDetailsTitle">当前回款</div>
                                       <div class="productDetailsNum">698000</div>
                                   </div>
                               </div>
                           </div>
                           <div class="productDetailsItem  pull-left" >
                               <div class="img pull-left" style="margin-top: 10px">
                                   <img src="/images/finance/orderInfo/icon5.png" alt="">
                               </div>
                               <div class="productDetailsList clearfix">
                                   <div class="pull-left" style="width: calc(100% - 50px)">
                                       <div class="productDetailsTitle">当前尾款</div>
                                       <div class="productDetailsNum">698000</div>
                                   </div>
                               </div>
                           </div>
                       </div>

                   </div>
               </div>
           </div>

       </div>-->
       <div class="well form-well">
           <h3>回款记录</h3>
           <table id="returnMoneyTable"></table>
       </div>
       <div class="well form-well">
           <h3>修改记录</h3>
           <table id="orderCollection"></table>
       </div>


       <!--订单编号-->
       <!--   <input type="hidden" id="orderCode" name="orderCode" th:value="${productOrderId}">
          <input type="hidden" id="companyNameId" th:value="${vo?.trueCompanyName}">
          <div class="subheading">
              <p>订单详情
                  <input type="hidden" id="orderFinish" th:value="${vo?.orderStatus?:''}">
                  <span class="orderVoid" >（订单作废）</span>
                  <span class="orderVoid2" >（订单完成）</span>
              </p>
              <div class="centerContantTwo">
                  <table>
                      <tr>
                      <tr>
                          <td>订单编号：<span class="text order-num" th:text="${vo?.orderNumber?:''}"></span></td>
                          <td>订单应回款：<span class="text" id="orderActualTotalAmount" th:text="${vo?.orderActualTotalAmount?:''}"></span></td>
                      </tr>
                      </tr>
                      <tr>
                          <td>订单所有人：<span class="text" th:text="${vo?.createPeopleName?:''}"></span></td>
                          <td>订单创建时间：<span class="text" th:text="${vo?.createTm?:''}"></span></td>
                      </tr>
                  </table>
              </div>
          </div>
          <hr>
          <div class="subheading">
              <p>合同详情</p>
              <div class="centerContantTwo">
                  <table>
                      <input type="hidden" id="contractId" th:value="${contractVO?.contractId?:''}">
                      <tr>
                      <tr>
                          <td>合同类型：
                              <span class="text" th:switch="${contractVO?.contractType?:''}">
                                  <span th:case="1">非会员合同</span>
                                  <span th:case="2">会员新单合同</span>
                                  <span th:case="3">活动合同</span>
                                  <span th:case="4">会员续费合同</span>
                                  <span th:case="5">兑换合同</span>
                                  <span th:case="6">单品合同</span>
                                  <span th:case="7">会员单次合同</span>
                              </span></td>
                          <td>合同编号：<span class="text order-num" th:text="${contractVO?.contractNumber?:''}"></span></td>
                      </tr>
                      </tr>
                      <tr>
                          <td>创建时间：<span class="text" id="orderActualTotalAmount" th:text="${vo?.createTm?:''}"></span></td>
                          <td>合同起止日期：
                              <span class="text"  id="starTime" th:text="${#dates.format(contractVO?.contractStartDate, 'yyyy-MM-dd')}"></span>至
                              <span class="text"  id="endTime" th:text="${#dates.format(contractVO?.contractEndDate, 'yyyy-MM-dd')}"></span></td>
                      </tr>
                      <tr>
                          <td>合作开发人员：
                              <span>
                                  <a href="#!" data-toggle="modal" data-target="#cooperateModal">查看</a>
                              </span>
                          </td>
                      </tr>
                  </table>
              </div>
          </div>
          <hr>
          <div class="subheading">
              <p>回款管理</p>
              <div>
                  <div class="centerContantTwo">
                      <table>
                          <tr>
                              <td>总计应回款：<span class="text" id="orderActualTotalAmountspan" th:text="${vo?.orderActualTotalAmount?:''}"></span></td>
                              <td>目前回款：<span class="text" id="returnMoneyAmountspan" th:text="${vo?.returnMoneyAmount?:''}"></span></td>
                              <td>尾款：<span class="text" id="residueMoneyAmountspan" th:text="${vo?.residueMoneyAmount?:''}"></span></td>

                          </tr>
                      </table>
                      <div class="pull-right" style="padding: 0 10px 0 0;">
                          <button class="btn btn-default" data-toggle="modal"
                                  data-target="#addInputMoney" aria-expanded="false">
                              <i class="mdi mdi-sort-variant"></i>全额回款
                          </button>
                      </div>
                  </div>
                  &lt;!&ndash;<div style="background: #FFFFFF;margin-left: 64px">
                      <table id="returnMoneyTable"></table>
                  </div>&ndash;&gt;
      &lt;!&ndash;            <table id="returnMoneyTable"></table>&ndash;&gt;
              </div>
          </div>

          <hr>
      &lt;!&ndash;    &lt;!&ndash;回款修改记录&ndash;&gt;&ndash;&gt;
      &lt;!&ndash;    <div class="subheading">&ndash;&gt;
      &lt;!&ndash;        <p>回款修改记录</p>&ndash;&gt;
      &lt;!&ndash;        <div>&ndash;&gt;
      &lt;!&ndash;            <table id="orderCollection"></table>&ndash;&gt;
      &lt;!&ndash;        </div>&ndash;&gt;
      &lt;!&ndash;    </div>&ndash;&gt;


          <hr>
          <div class="subheading">
              <p>产品明细</p>

              <div class="well form-well product-table">
                  <div class="row">
                      <div class="col-lg-12 col-md-6 col-sm-6 col-xs-12">
                          <h5><i class="mdi mdi-view-headline"></i>产品列表</h5>

                          <table id="productList"></table>

                      </div>
                  </div>
                  &lt;!&ndash;<div class="centerContantTwo bottomContant">
                      <table>
                          <tr>
                              <td>目前总款：<span class="text" id="countMoney" th:text="${vo?.returnMoneyAmount?:''}"></span></td>
                              <td>退款手续费：<input type="text" id="serviceMoney" class="form-group form-control refundInput" placeholder="请输入退款手续费"
                                                 onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')" onchange="calculateMoney()"></td>
                              <td>应退款：<span class="text" id="backMoneySpan" th:text="0"></span></td>
                              <td>剩余总款：<span class="text" id="residueMoney" th:text="${vo?.returnMoneyAmount?:''}"></span></td>
                          </tr>
                      </table>
                      <button type="button" class="btn btn-default btn-right" id="btnRightDel" onclick="allRightDel()"><i class=""></i>退款</button>
                  </div>&ndash;&gt;

              </div>
          </div>

          &lt;!&ndash;回款修改记录&ndash;&gt;
          &lt;!&ndash;<div class="subheading">
              <div>
                  <table id="orderCollection"></table>
              </div>
          </div>&ndash;&gt;
          <hr>

          &lt;!&ndash;产品删除记录&ndash;&gt;
          <div class="subheading">
              <p>产品退款记录</p>
              <div>
                  <table id="productDelRecord"></table>
              </div>
          </div>
          <hr>


      </div>




      <div style="height: 15px"></div>


      &lt;!&ndash; 录入回款 弹窗 &ndash;&gt;
      <div class="modal fade bs-example-modal-lg modal-edit" tabindex="-1" role="dialog" id="addInputMoney">
          <div class="modal-dialog modal-lg" role="document">
              <div class="modal-content">
                  <div class="modal-header">
                      <h4>录入回款</h4>
                  </div>
                  <div class="row row-pad">
                      <input type="hidden" id="returnMoneyIdHide">
                      <input type="hidden" id="inputReviewer">
                      <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                          <label class="control-label label-required label-width" title="到款日期">到款日期</label>
                          <div class="form-content peers-display">
                              <input type="text" class="form-control bottomInput" id="arriveTime" placeholder="请选择到款日期" autocomplete="off">

                          </div>
                      </div>
                      <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                          <label class="control-label label-required label-width" for="arriveMoney" title="到款金额">到款金额</label>
                          <div class="form-content peers-display">
                              <input type="text" id="arriveMoney" class="form-control bottomInput"
                                     placeholder="请输入到款金额" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')">
                          </div>
                      </div>

                      &lt;!&ndash;<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                          <label class="control-label label-required label-width" for="arriveUnitName" title="到款单位">到款单位</label>
                          <div class="form-content peers-display">
                              <select id="arriveUnitName" name="arriveUnitName" class="form-control" data-live-search="true">
                                  <option value="1">请选择</option>
                              </select>

                          </div>
                      </div>&ndash;&gt;

                      <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                          <label class="control-label label-required label-width" title="付款单位">付款单位</label>
                          <div class="form-content peers-display">
                              <input type="text" class="form-control bottomInput" th:value="${vo?.customerName?:''}" placeholder="请输入付款单位" id="paymentUnit">
                          </div>
                      </div>
                      <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                          <label class="control-label label-required label-width" title="到款方式">到款方式</label>
                          <div class="form-content peers-display">
                              <select class="form-control bottomInput" title="请选择" id="arriveMethod" onclick="hideorShouDiv();" placeholder="请选择">
                                  &lt;!&ndash;<option onclick="hideorShouDiv()" value="">请选择</option>&ndash;&gt;
                                  <option onclick="hideorShouDiv()" value="0">银行汇款</option>
                                  <option onclick="hideorShouDiv()" value="1">现金</option>
                                 &lt;!&ndash; <option onclick="hideorShouDiv()" value="2">余额支付</option>&ndash;&gt;
                                  <option onclick="hideorShouDiv()" value="3">线上支付</option>
                              </select>
                          </div>
                      </div>
                      <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad" id="paymentAccountDiv">
                          <label class="control-label label-width" title="付款账号">付款账号</label>
                          <div class="form-content peers-display">
                              <input type="text" class="form-control bottomInput" th:value="${vo?.paymentAccount?:''}" placeholder="请输入付款账号" id="paymentAccount">
                          </div>
                      </div>
                      <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad" id="paymentBankDiv">
                          <label class="control-label label-width" title="付款银行">付款银行</label>
                          <div class="form-content peers-display">
                              <input type="text" class="form-control bottomInput" placeholder="请输入付款银行" id="paymentBank">
                          </div>
                      </div>
                      <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad" id="serialDiv">
                          <label class="control-label label-width" title="付款账号">流水号</label>
                          <div class="form-content peers-display">
                              <input type="text" class="form-control bottomInput" placeholder="请输入流水号" id="serial">
                          </div>
                      </div>

                      &lt;!&ndash;<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                          <label class="control-label label-required label-width" title="到款是否作废">到款账号类型</label>
                          <div class="form-content peers-display">
                              <label class="lyear-radio radio-inline radio-primary m-t-10">
                                  <input type="radio" name="arriveIsAbolish" th:value="0"><span></span>
                              </label>
                              <label class="lyear-radio radio-inline radio-primary m-t-10">
                                  <input type="radio" name="arriveIsAbolish" th:value="1"><span>分公司账号</span>
                              </label>
                          </div>
                      </div>&ndash;&gt;
                      <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                          <label class="control-label label-required label-width" title="到款账号类型">到款账号类型</label>
                          <div class="form-content peers-display">
                              <select class="form-control bottomInput" title="请选择" id="arriveAccountType" placeholder="请选择">
                                  <option value="">请选择</option>
                                  &lt;!&ndash;<option value="0">分公司账号</option>
                                  <option value="1">北京财税研究院</option>
                                  <option value="2">大成方略网络科技有限公司</option>
                                  <option value="3">北京大成方略财务顾问有限公司</option>
                                  <option value="4">北京大成方略纳税人俱乐部有限公司</option>
                                  <option value="5">大成方略纳税人俱乐部股份有限公司</option>&ndash;&gt;
                              </select>
                          </div>
                      </div>

                      <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                          <label class="control-label " title="备注">备注</label>
                          <div class="form-content peers-display">
                              <textarea id="remark" class="form-control" placeholder="请输入备注" style="height: 40px;"></textarea>
                          </div>
                      </div>

                  </div>
                  <div class="modal-footer">
                      <button type="button" class="btn btn-primary" onclick="inputMoney(this);">确定</button>
      &lt;!&ndash;                onclick="hideInput()"&ndash;&gt;
                      <button type="button" class="btn btn-default"
                               data-dismiss="modal" onclick="hideInput()">取消</button>
                  </div>
              </div>
          </div>-->

   </div>
</div>
<div class="modal fade bs-example-modal-lg modal-edit" tabindex="-1" role="dialog" id="addInputMoney">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4 id="modalTitle">录入回款</h4>
            </div>
            <div class="modal-body">
                <div class="well form-well">
                    <div class="row">
                        <input type="hidden" id="returnMoneyIdHide">
                        <input type="hidden" id="inputReviewer">
                        <input type="hidden" id="customerName" th:value="${vo?.customerName?:''}">
                        <input type="hidden" id="paymentAccountVal" th:value="${vo?.paymentAccount?:''}">
                        <input type="hidden" id="">
                        <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad" id="serialDiv">
                            <label class="control-label label-required label-width" title="付款账号">流水号</label>
                            <div class="form-content peers-display">
                                <input type="text" class="form-control bottomInput" placeholder="请输入流水号" id="serial">
                            </div>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                            <label class="control-label label-required label-width" title="到款日期">到款日期</label>
                            <div class="form-content peers-display">
                                <input type="text" class="form-control bottomInput" id="arriveTime" placeholder="请选择到款日期" autocomplete="off">

                            </div>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                            <label class="control-label label-required label-width" for="arriveMoney" title="到款金额">到款金额</label>
                            <div class="form-content peers-display">
                                <input type="text" id="arriveMoney" class="form-control bottomInput"
                                       placeholder="请输入到款金额" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')">
                            </div>
                        </div>

                        <!--<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                            <label class="control-label label-required label-width" for="arriveUnitName" title="到款单位">到款单位</label>
                            <div class="form-content peers-display">
                                <select id="arriveUnitName" name="arriveUnitName" class="form-control" data-live-search="true">
                                    <option value="1">请选择</option>
                                </select>

                            </div>
                        </div>-->

                        <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                            <label class="control-label label-required label-width" title="付款单位">付款单位</label>
                            <div class="form-content peers-display">
                                <input type="text" class="form-control bottomInput" th:value="${vo?.customerName?:''}" placeholder="请输入付款单位" id="paymentUnit">
                            </div>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                            <label class="control-label label-required label-width" title="到款方式">到款方式</label>
                            <div class="form-content peers-display">
                                <select class="form-control bottomInput" title="请选择" id="arriveMethod" onclick="hideorShouDiv();" placeholder="请选择" >
                                    <option onclick="hideorShouDiv()" value="0">银行汇款</option>
                                    <option onclick="hideorShouDiv()" value="1">现金</option>
                                    <!-- <option onclick="hideorShouDiv()" value="2">余额支付</option>-->
                                    <option onclick="hideorShouDiv()" value="3">线上支付</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad" id="paymentAccountDiv">
                            <label class="control-label label-width" title="付款账号">付款账号</label>
                            <div class="form-content peers-display">
                                <input type="text" class="form-control bottomInput" th:value="${vo?.paymentAccount?:''}" placeholder="请输入付款账号" id="paymentAccount">
                            </div>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad" id="paymentBankDiv">
                            <label class="control-label label-width" title="付款银行">付款银行</label>
                            <div class="form-content peers-display">
                                <input type="text" class="form-control bottomInput" placeholder="请输入付款银行" id="paymentBank">
                            </div>
                        </div>

                        <!--<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                            <label class="control-label label-required label-width" title="到款是否作废">到款账号类型</label>
                            <div class="form-content peers-display">
                                <label class="lyear-radio radio-inline radio-primary m-t-10">
                                    <input type="radio" name="arriveIsAbolish" th:value="0"><span></span>
                                </label>
                                <label class="lyear-radio radio-inline radio-primary m-t-10">
                                    <input type="radio" name="arriveIsAbolish" th:value="1"><span>分公司账号</span>
                                </label>
                            </div>
                        </div>-->
                        <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12 col-pad">
                            <label class="control-label label-required label-width" title="到款账号类型">到款账号类型</label>
                            <div class="form-content peers-display">
                                <select class="form-control bottomInput" title="请选择" id="arriveAccountType" placeholder="请选择">
                                    <!--<option value="">请选择</option>-->
                                    <!--<option value="0">分公司账号</option>
                                    <option value="1">北京财税研究院</option>
                                    <option value="2">大成方略网络科技有限公司</option>
                                    <option value="3">北京大成方略财务顾问有限公司</option>
                                    <option value="4">北京大成方略纳税人俱乐部有限公司</option>
                                    <option value="5">大成方略纳税人俱乐部股份有限公司</option>-->
                                </select>
                            </div>
                        </div>
                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 col-pad">
                            <label class="control-label " title="备注">备注</label>
                            <div class="form-content peers-display">
                                <textarea id="remark" class="form-control" placeholder="请输入备注" rows="3"></textarea>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" onclick="inputMoney(this);">确定</button>
                <!--                onclick="hideInput()"-->
                <button type="button" class="btn btn-default"
                        data-dismiss="modal" onclick="hideInput()">取消</button>
            </div>
        </div>
    </div>
</div>
<!--错误转移-->
<div class="modal fade bs-example-modal-lg modal-edit" tabindex="-1" role="dialog" id="errorShift">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <input type="hidden" id="shiftReturnMoneyIdHide">
            <input type="hidden" id="shiftContractId">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4>回款错误关联</h4>
            </div>
            <div class="row row-pad modal-header">
                <div class="col-lg-4 col-md-5 col-sm-5 col-xs-12">
                    <div class="pull-right">
                        <div class="min-search pull-left">
                            <input class="form-control" type="text" placeholder="请输入订单编号"
                                   id="orderNumber" name="orderNumber">
                            <button class="btn btn-primary" type="button" onclick="searchOrderInfo()">
                                <i class="mdi mdi-magnify"></i><span>搜索</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row row-pad" id="shiftInfoDiv">
                <p>订单详情</p>
                <div class="centerContantTwo">
                    <table>
                        <tr>
                        <tr>
                            <td>订单编号：<span class="text order-num" id="shiftOrderNumber"></span></td>
                            <td>订单应回款：<span class="text" id="shiftOrderActualTotalAmount"></span></td>
                        </tr>
                        </tr>
                        <tr>
                            <td>订单所有人：<span class="text" id="shiftCreatePeopleName"></span></td>
                            <td>订单创建时间：<span class="text" id="shiftCreateTm"></span></td>
                        </tr>
                    </table>
                </div>
                <p>合同详情</p>
                <div class="centerContantTwo">
                    <table>
                        <tr>
                        <tr>
                            <td>合同类型：<span class="text" id="shiftContractType">
                        </span></td>
                            <td>合同编号：<span class="text order-num" id="shiftContractNumber"></span></td>
                        </tr>
                        </tr>
                        <tr>
                            <td>创建时间：<span class="text" id="shiftContractCreateTm"></span></td>
                            <td>合同起止日期：
                                <span class="text"  id="shiftStarTime"></span>至
                                <span class="text"  id="shiftEndTime"></span></td>
                        </tr>
                        <tr>
                            <td>合作开发人员：
                                <span>
                                    <a href="#!" data-toggle="modal" data-target="#cooperateModal2" onclick="viewCooperate2()">查看</a>
                                </span>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" onclick="shiftOrderReturnMoney(this);">确定</button>
                <!--                onclick="hideInput()"-->
                <button type="button" class="btn btn-default"
                        data-dismiss="modal" onclick="hideInput()">取消</button>
            </div>
        </div>
    </div>
</div>


<!-- 合作开发人员列表 -->
<div class="modal fade" tabindex="-1" role="dialog" id="cooperateModal">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4>合作开发人员</h4>
            </div>
            <div class="modal-body" style="padding-bottom: 18px;">
                <table id="cooperateTable"></table>
            </div>
        </div>
    </div>
</div>

<!-- 合作开发人员列表 -->
<div class="modal fade" tabindex="-1" role="dialog" id="cooperateModal2">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4>合作开发人员</h4>
            </div>
            <div class="modal-body" style="padding-bottom: 18px;">
                <table id="cooperateTable2"></table>
            </div>
        </div>
    </div>
</div>

<!-- 错误修改 -->
<div class="modal fade" tabindex="-1" role="dialog" id="errorCorrectionModal">
    <div class="modal-dialog" role="document" style="width: 70%">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4>错误修改</h4>
            </div>
            <div class="modal-body" style="padding-bottom: 18px;">
                <table id="errorCorrectionTable"></table>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
                <!--                onclick="hideInput()"-->
                <button type="button" class="btn btn-default"
                        data-dismiss="modal">取消</button>
            </div>
        </div>

    </div>
</div>

<!-- 全部解除 -->
<div class="modal fade" tabindex="-1" role="dialog" id="dismiss">
    <div class="modal-dialog" role="document" style="width: 50%">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4>全部解除</h4>
            </div>
            <div class="modal-body" style="padding-bottom: 18px;">
                <h1 class="label-required">解除关联备注</h1>
                <textarea id="removeNote" type="text" class="form-control textarea" style="height: 100px" maxlength="300" ></textarea>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" onclick="submitDismiss()">确定</button>
                <!--                onclick="hideInput()"-->
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>

    </div>
</div>


</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<!-- 拖动 -->
<script src="/js/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js"></script>
<script src="/js/crm/common/colResizable-1.6.min.js"></script>
<!--对话框-->
<script src="/js/jconfirm/jquery-confirm.min.js"></script>

<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>
<script type="text/javascript" src="/js/bootstrap-multitabs/multitabs.js"></script>
<!--日期选择插件-->
<!--<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="/js/crm/common/dataRangePicker.min.js"></script>
<script src="/js/verSelect.2.0.js"></script>-->


<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="/js/crm/common/dataRangePicker.min.js"></script>

<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<!-- 通用js -->
<script src="/js/crm/common/common.js"></script>

<script src="/js/crm/inputPayment/orderInfo.js"></script>
</html>